<%@ tag import="com.aiwei.tdjk.utils.SpringUtils" %>
<%@ tag import="com.aiwei.tdjk.service.HealthLifewayService" %>
<%@ tag pageEncoding="UTF-8"%>
<%@ attribute name="id" type="java.lang.Long" required="true" description="当前要展示的会员的id" %>
<%!private HealthLifewayService healthLifewayService;%>
<%
    if(healthLifewayService == null) {
        healthLifewayService = SpringUtils.getBean(HealthLifewayService.class);
    }
    String IntervalByMemberId = healthLifewayService.getIntervalOfRecentHealthLifeWayByMemberId(id);
    if(null!=IntervalByMemberId){
        out.write(IntervalByMemberId);
    }else{
        out.write("<span style='color:red'>无评估报告</span>");
    }
%>
